package com.koron.device.zsjRemote.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.annocation.FillField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("远程协作记录表")
public class CollaborationRecord {
	@ApiModelProperty("ID,主键")
	private String id;

	@ApiModelProperty("标题")
	private String title;

	@ApiModelProperty("发起人账号")
	private String createBy;

	@ApiModelProperty("发起人姓名")
	private String createByName;

	@ApiModelProperty("通知成员")
	private List<CollaborationWorker> workers;

	@FillField
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(value = "协作开始时间", hidden = true)
	private Date createTime;

	@ApiModelProperty("协作状态记录")
	private String status;

	@ApiModelProperty(value = "删除标志", hidden = true)
	private Integer deleteFlag = 0;

	@ApiModelProperty("发起设备")
	private String source;

	@ApiModelProperty("会议链接")
	private String meetingUrl;

	@ApiModelProperty("会议链接")
	private String meetingUrlWeb;
}
